using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;

using SharpCore.Data;

namespace TF.Access {
	public partial class Tf_album {
        public static List<Tf_album> SelectByUserId(int uid)
        {
            using (SqlDataReader dataReader = SqlClientUtility.ExecuteReader("tf_albumSelectByUserId",uid))
            {
                List<Tf_album> tf_albumList = new List<Tf_album>();
                while (dataReader.Read())
                {
                    Tf_album tf_album = MakeTf_album(dataReader);
                    tf_albumList.Add(tf_album);
                }
                return tf_albumList;
            }
        }
	}
}
